package com.aliang.shopping.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName notice
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "notice")
@Data
public class Notice extends UpdatePO {

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建人Id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 来源数字，0管理，1商户
     */
    @TableField(value = "form_num")
    private Integer formNum;

    /**
     * 接受端，0用户，1商户
     */
    @TableField(value = "to_num")
    private Integer toNum;
}